package com.nidu.demo.base;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 批量删除命令
 *
 * @author auto
 */
@Data
@Schema(description = "批量删除增命令")
@EqualsAndHashCode(callSuper = true)
public class BatchDeleteCmd extends BaseCmd {

    /**
     * 新增json字符串
     */
    @NotNull(message = "删除json字符串不能为空")
    @Schema(description = "删除json字符串", example = "[1,2,...]")
    private String delete;

} 